package com.settlement.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.entity.WebHook;
import com.baomidou.mybatisplus.extension.service.IService;
import com.settlement.system.model.form.WebHookForm;
import com.settlement.system.model.query.WebHookPageQuery;

/**
 * <p>
 * WEB_HOOK表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-10-23
 */
public interface WebHookService extends IService<WebHook> {
    boolean createOrUpdate(WebHookForm webHookForm);
    Page<WebHook> getPage(WebHookPageQuery pageQuery);

    boolean deleteWebHooks(String idStr);

    void enable(String ids);

    void disable(String ids);

    WebHook getWebHookFormData(Long id);
}
